package com.yc.votesys.dao;

import java.util.List;

public interface IBaseDao {
	public int update(String sqlId, Object obj);
	
	public int update(List<String> sqlIds, List<Object> obj);
	
	public <T> T find(String sqlId, Object obj);
	
	public <T> T find(String sqlId);
	
	public <T> List <T> finds(String sqlId);
	
	public <T> List <T> finds(String sqlId, Object obj);
	
	public int total(String sqlId);
	
	public int total(String sqlId, Object obj);
	
}
